WooCommerce\PayPalCommerce\Subscription\Helper\SubscriptionHelper S

Total Complexity 21
Dependencies 3
Dependents 4
Total lines 91
Lines of code 46
Logical lines of code 24
Comment lines 33
Methods 6
Properties 0

Methods 6

Method Rating Maintainability Complexity Lines of code
cart_contains_subscription()
A
56 8 18
has_subscription()
S
77 4 3
current_product_is_subscription()
S
67 3 7
accept_only_automatic_payment_gateways()
S
64 3 10
is_subscription_change_payment()
S
71 2 5
plugin_is_active()
S
80 1 3